package com.ftg.learn.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 公车信息表
 * </p>
 *
 * @author lalala
 * @since 2022-03-07
 */
@TableName("sys_bus_info")
@ApiModel(value = "BusInfo对象", description = "公车信息表")
public class BusInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公车ID")
    @TableId(value = "bid", type = IdType.AUTO)
    private Long bid;

    @ApiModelProperty("名称")
    private String busName;

    @ApiModelProperty("车牌号")
    private String busNo;

    @ApiModelProperty("发动机号")
    private String engineNo;

    @ApiModelProperty("车架号")
    private String frameNo;

    @ApiModelProperty("仪器设备编号")
    private String insEquNo;

    @ApiModelProperty("领用人")
    private String receiver;

    @ApiModelProperty("负责人ID")
    private Long did;

    @ApiModelProperty("所属单位")
    private String unit;

    @ApiModelProperty("厂商")
    private String manufacturer;

    @ApiModelProperty("停放地点")
    private String park;

    @ApiModelProperty("排放量")
    private String displacement;

    @ApiModelProperty("购置日期")
    private LocalDateTime acquisitionDate;

    @ApiModelProperty("类别")
    private String category;

    @ApiModelProperty("默认用途")
    private String purpose;

    @ApiModelProperty("公车照片")
    private String busPhotos;

    @ApiModelProperty("公车状态(是否可用,0为正常使用,1为不可用)")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("删除说明信息")
    private String remarks;

    public Long getBid() {
        return bid;
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }
    public String getBusName() {
        return busName;
    }

    public void setBusName(String busName) {
        this.busName = busName;
    }
    public String getBusNo() {
        return busNo;
    }

    public void setBusNo(String busNo) {
        this.busNo = busNo;
    }
    public String getEngineNo() {
        return engineNo;
    }

    public void setEngineNo(String engineNo) {
        this.engineNo = engineNo;
    }
    public String getFrameNo() {
        return frameNo;
    }

    public void setFrameNo(String frameNo) {
        this.frameNo = frameNo;
    }
    public String getInsEquNo() {
        return insEquNo;
    }

    public void setInsEquNo(String insEquNo) {
        this.insEquNo = insEquNo;
    }
    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }
    public Long getDid() {
        return did;
    }

    public void setDid(Long did) {
        this.did = did;
    }
    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
    public String getPark() {
        return park;
    }

    public void setPark(String park) {
        this.park = park;
    }
    public String getDisplacement() {
        return displacement;
    }

    public void setDisplacement(String displacement) {
        this.displacement = displacement;
    }
    public LocalDateTime getAcquisitionDate() {
        return acquisitionDate;
    }

    public void setAcquisitionDate(LocalDateTime acquisitionDate) {
        this.acquisitionDate = acquisitionDate;
    }
    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }
    public String getBusPhotos() {
        return busPhotos;
    }

    public void setBusPhotos(String busPhotos) {
        this.busPhotos = busPhotos;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "BusInfo{" +
            "bid=" + bid +
            ", busName=" + busName +
            ", busNo=" + busNo +
            ", engineNo=" + engineNo +
            ", frameNo=" + frameNo +
            ", insEquNo=" + insEquNo +
            ", receiver=" + receiver +
            ", did=" + did +
            ", unit=" + unit +
            ", manufacturer=" + manufacturer +
            ", park=" + park +
            ", displacement=" + displacement +
            ", acquisitionDate=" + acquisitionDate +
            ", category=" + category +
            ", purpose=" + purpose +
            ", busPhotos=" + busPhotos +
            ", status=" + status +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", remarks=" + remarks +
        "}";
    }
}
